package com.leapp.sk.ui.fragment.message

import android.os.Bundle
import cc.vv.lklibrary.log.LogOperate
import com.example.mvp.binder.BaseDataBinder
import com.example.mvp.fragment.BaseFragmentMVP
import com.example.mvp.bean.GroupMemberEntity
import com.leapp.sk.binder.BaseBinder
import com.example.util.finallist.READ_MESSAGE_DATAS
import com.leapp.sk.viewdelegate.im.ReadMessageDelegate
/**
 * 消息已读界面
 * @author  chaohaipeng  on 2018/7/26.
 */
class ReadMessageFragment:BaseFragmentMVP<ReadMessageDelegate>(){
    override fun initView(p0: Bundle?) {
        val parcelableArrayList = p0?.getParcelableArrayList<GroupMemberEntity>(READ_MESSAGE_DATAS)
        if (parcelableArrayList!=null){
            viewDelegate.initAdapter(activity,parcelableArrayList)
        }
    }

    override fun initData() {
        LogOperate.e("初始化==========")

    }

    override fun bindEvenListener() {
    }

    override fun getDelegateClass(): Class<ReadMessageDelegate> {
        return ReadMessageDelegate::class.java
    }

    override fun getDataBinder(): BaseDataBinder<*, *> {
        return BaseBinder()
    }
}